home *** CD-ROM | disk | FTP | other *** search
/ Mac Expert 1995 Winter / Mac Expert - Winter 95.iso / Les fichiers / Communications / Divers / CommAnalyzer 1.0 ƒ / Comm Analyzer Release Notes next >
Encoding:
Text File  |  1993-07-28  |  3.8 KB  |  103 lines  |  [TEXT/KAHL]

  1. /***********************************************************************
  2.     Comm Analyzer Release Notes
  3.     
  4.     Created:    Tuesday, July 27, 1993, 10:25 PM
  5.     Project:    CommAnalyzer.π
  6.     Compiler:    6.0, © Symantec Corporation 1993
  7.     By:            Greg Ames
  8.  
  9.     Copyright © 1993,1993 Ames & Associates.
  10.     All rights reserved. 
  11.  
  12.     AppleLink:AMES
  13.     AOL:AMES
  14.     Compuserve:73177,1603
  15.  
  16. ***********************************************************************/
  17.  
  18. The CommAnalyzer application allows developer to monitor and display
  19. data monitored passing by on the Macintosh serial ports.  It is designed to be used
  20. as a communications monitor for another computer.  For example, if you
  21. wanted to see what communications was happening between a Mac and a modem,
  22. it will allow you to look at the data sent to and received by the host computer.
  23.  
  24. I am working on a project where there was a single HP communications analyzer
  25. and 4 engineers trying to use it.  I had a spare PowerBook laying around and 
  26. wrote this App.
  27.  
  28. All the standard non-responsibilities apply. The code, source and object,
  29. are supplied with no assumptions for use ability.
  30.  
  31. I built a special cable that easily allows me to monitor the serial communications.
  32. I bought 2 cables, one was Din-8 Male to Din-8 Female, and the other was a Din-8
  33. Male to Din-8 Male.  The Male to Male was cut in half.  The Male to female cable
  34. had 3 inches of shield removed in the middle.  I identified the signals using a volt
  35. ohm meter and a straight pin.
  36.  
  37. The cable was wired as follows
  38.  
  39. Din-8 Male(M-M)                        Din-8 Male                        Din-8 Male(M-M)
  40.                                 
  41.                             1    2    3    4    5    6    7    8
  42.                             |    |    |    |    |    |    |    |    
  43.     GND                        |    |    |    |    |    |    |    |                GND
  44.     4-----------------------|---|---|---+---|---|---|---|------------------4    
  45.     5----+------------------|---|---+    |    +---|---|---|--------+---------5    
  46.     TXD- |     +--------------+    |    |    |    |    |    |    |         |
  47.          |     |     +----------|---+    |    |    |    |    |    |         |
  48.          |     |     |            |H    |H    |T    |G    |R    |T    |G    |R         |        TXD-
  49.         LED    LED    LED            |S    |S    |X    |N    |X    |X    |P    |X        LED
  50.          |     |     |            |K    |K    |D    |D    |D    |D    |I    |D         |
  51.         330 330    330            |O    |I    |-    |    |-    |+    |    |+        330 ohm
  52.          |     |     |            1    2    3    4    5    6    7    8         |
  53.         GND    GND    GND                    Din-8 Female                GND
  54.                 
  55. (+ means a junction)
  56.  
  57.  
  58. In addition, I added 4 LEDs from 1,2,3 & 5 thru a 330 ohm resisters to pin 4 to ground.
  59. This allows you to monitor the data lines and the handshake lines.
  60.  
  61. This was all placed in a Radio Shack project box.
  62.  
  63. So much for hardware.
  64.  
  65. The serial port monitor allows you to set baud rate (common for both ports), parity, 
  66. start bits, stop bits. etc.  You can save and load communication screens. 
  67. After reloading a buffer, the Insert happens from the top left.  There is NO undo so
  68. be careful.
  69.  
  70. Caveat:!!!!  There is no handshake support.   Therefore you will get overruns with long 
  71. data streams.  The higher the baud rate, the sooner you will get overruns etc.
  72. This is diagnostic tool for small communications projects.  There are
  73. no error/overrun messages from the tool ( an exercise left for the user).
  74.  
  75. Caveat:!!!! The real-time relationship between streams is not accurate.  I do a SerGetBuf,
  76. read that many characters, update the display and then read the next channel.  Therefore,
  77. there is a high likelihood that the timing is not correct.  The proper way I suppose would
  78. be to do an ASync read on each channel, timestamp character when received and the deque 
  79. in the proper order.
  80.  
  81.  
  82. Future enhancements if I need them:
  83.  
  84.     Standard control character display (NUL,CR,LF etc.);
  85.     Packet recording and playback with timing. (to display only)
  86.     Disk stream writing.
  87.     Error displays
  88.     Counts for characters read per stream and buffers
  89.  
  90. If you make changes/enhancements/suggestions, please send them to me at one of the 
  91. addresses above.
  92.  
  93. Hope it helps you, and if you really like it send cash.
  94.  
  95. Greg Ames
  96. Ames & Associates
  97. 1558 Glenmont Dr.
  98. Glendale, CA 91207
  99. (415)366-5154
  100. AppleLink:AMES
  101. AOL:AMES
  102. Compuserve:73177,1603
  103.